Skip to content

Added support for another ESP32_2432S028 variant.#295

Merged
BitMaker-hub merged 7 commits intoBitMaker-hub:masterfrom
paelzer:master
Jan 22, 2024
Merged

Added support for another ESP32_2432S028 variant.#295
BitMaker-hub merged 7 commits intoBitMaker-hub:masterfrom
paelzer:master

Conversation

@paelzer
Copy link
Contributor

@paelzer paelzer commented Jan 15, 2024

Hello

Related to discussion: #273

I have added support for another variant of ESP32_2432S028. There are several different boards available and some need to have different settings than others.
This changes work at least fine with my variant, which is different from others, as for example, it has micro USB and USB-C connector.

Unfortunately I only have this one which I can use for testing:

image

As mentioned earlier, I don't have professional programming background so I'm not sure, if the way I implemented it, is ok, even if it works fine :-)

Boris

@sany3001
Copy link
Contributor

sany3001 commented Jan 21, 2024

I will try your code with my board. Seems to be same as yours, but who knows really. :-)
I guess I can switch to your fork, build it and flash it.

I cannot build that branch:

image

This is from 2USB environment. From default one I have another errors.

@sany3001
Copy link
Contributor

Thanks for quick fix, already building! 👍

@paelzer
Copy link
Contributor Author

paelzer commented Jan 21, 2024

Hi, not yet done. I still try to figure out what change from Friday caused it to stop working.
Will look into it again later.

@sany3001
Copy link
Contributor

Colors are OK! But content on display corresponds to regular miner. With some missing data.
Keep updated your tester. :-)

unnamed

@sany3001
Copy link
Contributor

sany3001 commented Jan 21, 2024

Flashed again and it looks good now

unnamed (1)

HW is I guess exactly the same as yours.

@sany3001
Copy link
Contributor

So it is not about flashing device, it is about boot. Sometimes you get the statistics and the pool info, sometimes you don't.

@paelzer
Copy link
Contributor Author

paelzer commented Jan 22, 2024

@sany3001 Hello, just a question... did you using Linux when the compiling failed in your screenshot above?

@sany3001
Copy link
Contributor

Yes, all trials in Linux Mint.

@paelzer
Copy link
Contributor Author

paelzer commented Jan 22, 2024

@sany3001 OK, that was my guess, could you please try again with this 2nd branch I created, if you find some time:

image

It should work. I successfully tested with Ubuntu but should of course work with Mint as well.
I just added pin defines for SD card slot to have the SD card slot working. But to be able to compile under Linux I also had to replace back slashes by forward slashes in "SDCard.h". I found this information in the screenshot you posted:

image

@sany3001
Copy link
Contributor

master and add-SD-card-pin-defines-for-ESP32_2432S028 are both buildable for me.

I have flashed add-SD-card-pin-defines-for-ESP32_2432S028 and the final result is the same - pool info is not always available. Colors are ok.

Copy link
Owner

@BitMaker-hub BitMaker-hub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic thanks

@BitMaker-hub BitMaker-hub merged commit a9fcf7d into BitMaker-hub:master Jan 22, 2024
@68gt500
Copy link

68gt500 commented Feb 15, 2024

I also just received the new variant, with the added USB-C connector.
Two issues
1 - When compiling with tft_espi the display is inverted - need to add:
tft.invertDisplay(1);
That fixes that issue.
2 - on the original the blue RGB LED would be always on - fixed that with digitalWrite(16, LOW);
on the new variant the green RGB LED is always on, but neither setting 16, or 17 low seems to help.

Any ideas ?

@HenrysCat
Copy link

display is inverted - need to add: tft.invertDisplay(1); That fixes that issue.

Where do I add this?

I have followed info here #273 and edited the files, flashed and still get inverted colours?

@68gt500
Copy link

68gt500 commented Mar 4, 2024

@HenrysCat:
The inverted display can be corrected in either of 2 places:

  • in the tft_espi library configuration file adding a line: #define TFT_INVERSION_ON
  • alternatively in the setup portion of the code adding: tft.invertDisplay(1);

@paelzer
Copy link
Contributor Author

paelzer commented Mar 4, 2024

@HenrysCat

Hello

In case of the ESP32_2432S028 version with USB-C and micro USB...

If you use the current Nerd Miner version no more manual adjustment in the code should be needed anymore, to fix the color setup, if you just select "ESP32_2432S028_2USB" as env in the bottom bar before building, since the fix is already implemented in the source code.

image

Boris

@HenrysCat
Copy link

Ah I see now, this is not just editing files is it, I need to build in Visual Studio? I have it installed but never used it, this may be beyond me, is there any way to get .bin files already built with the required changes?

@sany3001
Copy link
Contributor

sany3001 commented Mar 4, 2024

Ah I see now, this is not just editing files is it, I need to build in Visual Studio? I have it installed but never used it, this may be beyond me, is there any way to get .bin files already built with the required changes?

It shall be really easy to build and flash. Please check this: #306 (comment)
If needed, we can add more info there.

@HenrysCat
Copy link

paelzer sany3001

Thank you, it was easy to build.

@djcasper1975
Copy link

thankyou i have done this with no experience by your helps here.

@denvee32
Copy link

denvee32 commented Apr 4, 2024

is there a .bin out there to just flash it for those of us that are not programmers? Please and thanks.
i have tried the bins from the fork [NerdMiner_v2_twoUSB_support] but it still not in dark mode. tried the latest bin here in the main build no go

@MyOwn2C
Copy link

MyOwn2C commented Apr 5, 2024

@denvee32
Copy link

denvee32 commented Apr 5, 2024

https://flasher.bitronics.store/

No go still the same reverse colors

@MyOwn2C
Copy link

MyOwn2C commented Apr 5, 2024

Try to flash the bin using https://espressif.github.io/esptool-js/

@HenrysCat
Copy link

is there a .bin out there to just flash it for those of us that are not programmers?

Here

@denvee32
Copy link

denvee32 commented Apr 5, 2024

is there a .bin out there to just flash it for those of us that are not programmers?

Here

BOOM.. thanks!!!!!

@RahulP0529
Copy link

is there a .bin out there to just flash it for those of us that are not programmers?

Here

BOOM.. thanks!!!!!

Can you resend?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants